<template>
    <div class="create">
        index-list
        
        <el-button @click="JumpToPage(2)">
            跳转页面
        </el-button>
        
    </div>
</template>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator"

@Component({
  name: "createlist",
})

export default class extends Vue {
    private JumpToPage(id:number){
        console.log(id)
        this.$router.push(`/edit/${id}`)
    }


}
</script>